/**
 * March 1, JUnit test done, implementation done.
 * */
package cn.edu.cuit.mockfns.fam;

import cn.edu.cuit.mockfns.fam.tuples.Event;

public abstract class Condition
{
    protected FAMEngine famEngine;

    public abstract boolean evaluate( FAMEngine famEngine );

    public abstract <T extends Event<?>> boolean evaluate( FAMEngine famEngine, T event );

    public FAMEngine getFamEngine()
    {
        return famEngine;
    }

    public void setFamEngine( FAMEngine famEngine )
    {
        this.famEngine = famEngine;
    }

}
